#ifndef READER_INFO_MANAGE_H
#define READER_INFO_MANAGE_H

#include <QDialog>
#include <QMainWindow>
#include <QSqlQuery>
#include <QSqlDatabase>
#include <QMessageBox>
#include <QDate>
#include <QDebug>
#include <QtSql/QSqlRecord>
#include <QtSql/QSqlTableModel>
#include <QWidget>
#include <QTableView>
#include <QSqlTableModel>
#include <QStandardItemModel>
#include <QModelIndex>
#include"reader_info_add.h"

namespace Ui {
class reader_info_manage;
}

class reader_info_manage : public QWidget
{
    Q_OBJECT

public:
    explicit reader_info_manage(QWidget *parent = nullptr);
    ~reader_info_manage();
    void readerInfoTableOP();
    void setWinStyle();


private slots:

    void on_delete_pushButton_clicked();

    void on_search_pushButton_clicked();

    void on_add_pushButton_clicked();

private:
    Ui::reader_info_manage *ui;
    QSqlTableModel *M;
    reader_Info_add *readerInfo_add;
};

#endif // READER_INFO_MANAGE_H


